/*
 * File   : includes/tagdefs.h
 * Author : Nandakiran Kirubanandan
 * 
 * This file contains the common definitions used by both the client
 * and the server.
 *
 */

#ifndef __tagdefs_h
#define __tagdefs_h

/*
 * Location of the file pipe used for communication between client and 
 * server
 *
 */
#define FIFO_FILE       "/tagger/tmp/server"

/*
 * The root directory for the temporary file pipes created by the client
 * during the communcation
 *
 */
#define FIFO_ROOT	"/tagger/tmp/"

/*
 * The location of the tag index file.
 *
 */
#ifndef INDEX_FILE
#define INDEX_FILE 	"/tagger/index/tag.index"
#endif
/*
 * The location of the inode number to filename map file.
 *
 */
#define INODEFILE 	"/tagger/index/tag.inode"

/* 
 * The location for the TagEditor command. Used by the GUI of the file search
 * to invoke the tageditor
 *
 */
#define tagcmd 		"/tagger/tageditor/TagEditor"

/* 
 * The different search mechanisms available
 *
 */
#define FLATSEARCH	"flatsearch"
#define HIERARCHICAL	"hierarchical"


void getwholelist(bool files_list);
void getlistoffiles(char* tag);

#endif
